moving summation process

移動總和過程